#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;

class Entity
{
public:
	float x, y;

	void Move(float a, float b)
	{
		x += a;
		y += b;
	}
};

class Player :public Entity
{
public:
	const char* Name;

	Player(const char* name) :Name(name)
	{
		// ...
	}

	void PrintName()
	{
		cout << Name << endl;
	}
};

int main()
{
	Player player("hello world");
	player.Move(10, 10);
	player.x = 2;

	return 0;
}